package com.bsj.power.pls.service;

import com.bsj.power.common.config.global.JsonResult;
import org.quartz.SchedulerException;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description ScheduledTasksService
 * @time 2024/11/27 20:36
 */
public interface ScheduledTasksService {

    /**
     * 设置形变量结算时间间隔定时任务
     *
     * @param second
     * @return com.bsj.power.common.config.global.JsonResult
     * @author ljx
     * @time 2024/11/27 20:40
     */
    JsonResult setShapeVariableTasks(Integer second) throws SchedulerException;

    /**
     * 获取形变量结算定时任务时间间隔
     *
     * @return com.bsj.power.common.config.global.JsonResult<java.lang.Integer>
     * @author ljx
     * @time 2024/11/27 20:41
     */
    JsonResult<Integer> getShapeVariableTasksTimeInterval();
}
